﻿@model IEnumerable<Bids.Core.DomainObjects.Task>
@{
    ViewBag.Title = "用户中心";
}
@section
head
{
    <link href="/css/login.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="/js/jquery-1.js"></script>
    <script type="text/javascript">var $j = jQuery.noConflict();</script>
    <script type="text/javascript" src="/js/js.js"></script>
    <script type="text/javascript" src="/js/drag.js"></script>
    <script type="text/javascript" src="/js/index.js"></script>
    <script type="text/javascript" src="/js/colorbox.js"></script>
    <script type="text/javascript" src="/js/cycle.js"></script>
    <script type="text/javascript" src="/js/jcarousellite.js"></script>

    <script type="text/javascript">
        function RndNum(n) {
            var rnd = "";
            for (var i = 0; i < n; i++)
                rnd += Math.floor(Math.random() * 10);
            return rnd;
        }

        jQuery(function () {
            // 
            $j("input[type=text]").add('textarea').add('input[type=password]').focus(function () {
                $j(this).addClass('inputbg');
            });
            $j("input[type=text]").add('textarea').add('input[type=password]').blur(function () {
                $j(this).removeClass('inputbg');
            });

            $j(".consultantlink").colorbox({ initialWidth: "0px", initialHeight: "0px", inline: true, href: "#popupconsultant" });

            $j(".webconsultantlink").click(function () {
                $j("select[name='staocan']").children().eq(4).attr("selected", "selected");
                $j("#popconsultantxq").html("我的网站建设需求：");
                $j.fn.colorbox({
                    initialWidth: "0px", initialHeight: "0px", inline: true, href: "#popupconsultant", onClosed: function () {
                        $j("select[name='staocan']").children().eq(4).removeAttr("selected");
                        $j("#popconsultantxq").html("我的设计需求：");
                    }
                });
            });
        });

    </script>
}
<div class="bg-body pt2">
    <div class="horizontal-bar round-white clearfix i-user">

        <div id="new2012">

            <div style="width: 935px; float: none;" class="content normal">
                <div class="list-tab mb2 clearfix">
                    <ul>
                        <li><a class="active" href="#">标志设计</a></li>
                    </ul>
                </div>
                <div class="post">
                    <ul>
                        @foreach (var item in Model)
                        {
                           <li>
                            <div class="entry-title clearfix">
                                <h2 class="pull-left">
                                    <a class="a1" href="#">@item.Name												&nbsp;
                                       @* <img title="项目已全额付款" src="/images/payment2.gif">*@
                                    </a></h2>
                                <strong class="pull-right">
                                    <span class="cate">在线设计项目</span>
                                    <span class="num"></span>
                                    <span class="stat orange">@item.TaskState.ToString()</span>
                                </strong>
                                
                                <p class="pull-left con">
                                    @item.Extraneous
                                </p>

                                <div class="project-buttons" style="display: none;">
                                    <a class="btn btn-success pull-right mt1 mr1" href="/employer/taskinfo/@(item.ID).html">查看</a>
                                </div>
                            </div>
                            <div style="padding: 1px;" class="entry-content clearfix">
                            </div>
                        </li> 
                        }
                    </ul>

                    <a href="/publish" class="add-more-project mt1"><span class="icon-add-more"></span>继续发布设计项目</a>
                </div>
            </div>
            <div class="clear"></div>

        </div>
    </div>
    <script type="text/javascript">
        jQuery(function () {
            jQuery('.entry-title').hover(function () { jQuery(this).find('.project-buttons').show(); }, function () { jQuery(this).find('.project-buttons').hide(); })
        });
    </script>
</div>
